package o;

import android.content.Context;
import android.util.DisplayMetrics;
import android.view.WindowManager;

public final class bsu {
    public static int ॱ(Context context) {
        WindowManager windowManager = (WindowManager) context.getSystemService("window");
        DisplayMetrics displayMetrics = new DisplayMetrics();
        windowManager.getDefaultDisplay().getMetrics(displayMetrics);
        if (bsp.ˋ()) {
            return (int) (((float) displayMetrics.widthPixels) * 0.5f);
        }
        return (int) (((float) displayMetrics.widthPixels) * 0.8f);
    }

    public static int ˋ(Context context) {
        return (ॱ(context) - azb.ˊ(context)) - azb.ˏ(context);
    }
}
